package stz.flash.option;

import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.Ui;
import blackberry.util.DjColorData;
import blackberry.util.DjFontData;
import blackberry.util.field.DjLabelField;

public class OptionLabel {

	public static int INFO_LABEL_FONT_HEIGHT_pt = 6;
	private static int INFO_LABEL_COLOR = Color.GRAY;

	public static DjLabelField createInfoLabel(String label) {
		
		return DjLabelField.createColorNewFontLabel(
				label, 
				new DjColorData(INFO_LABEL_COLOR, DjColorData.DEFAULT), 
				Font.getDefault().derive(Font.PLAIN, INFO_LABEL_FONT_HEIGHT_pt, Ui.UNITS_pt));
	}
}